const promise = new Promise((resolve, reject) => {
    console.log('00000')
    // resolve('22222')
    reject('err')
})
promise.then((success) => {
    //成功
    console.log(success)
    throw 'err33333'
    // return success
}, (err) => {
    //失败
    console.log(err,'err')
}).catch(err => {
    console.log(err, ':err0')
})
    .then((success) => {
        console.log(success, ':success')
        throw 'abc'
    }, (err) => {
        console.log(err)
    }).catch(err => {
        console.log(err, 'err')
    })
console.log('11111')